package com.exam.paper.pojo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName : Select
 * @Description : 单选题
 * @Author : WHB
 */
@Data
@Table(name = "exam_select")
public class Select {
    @Id
    @JsonSerialize(using = ToStringSerializer.class)
    Long id;
    @JsonSerialize(using = ToStringSerializer.class)
    Long paperId;
    String name;
    String optionA;
    String optionB;
    String optionC;
    String optionD;
    Integer answer;
    String analyse;

}
